Improved interactive login flow for feature cards using NextAuth signIn()#909
Improved interactive login flow for feature cards using NextAuth signIn()#909priyakumari0104 wants to merge 2 commits into
Conversation
|
@priyakumari0104 is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel. A member of the Team first needs to authorize it. |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
|
Hi! This PR has a merge conflict with main. Please rebase onto the latest main branch and resolve conflicts before we can review further. |
|
Resolved the merge conflicts with the latest main branch and updated the PR accordingly. The conflicts in |
|
This PR has merge conflicts with Resolve conflicts and force-push. Will be merged once clean. |
Changes Made
Made landing page feature cards clickable
Added a custom interactive /login-required page
Improved authentication onboarding UI/UX
Added animated and responsive login prompt design
Replaced direct /api/auth/signin/github redirect with NextAuth signIn("github")
Fixed GitHub OAuth redirect loop issue mentioned in review
Technical Improvements
Added reusable GithubSignInButton component
Used signIn("github", { callbackUrl: "/dashboard" }) from next-auth/react
Improved hover animations and transitions
Enhanced accessibility and user interaction
Result
Users now get a smoother and more interactive authentication experience when clicking feature cards, while also preventing circular redirect issues in the GitHub login flow.